package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Role;

import java.util.Map;

public interface RoleService {
    void deleteRoleById(int roleId);

    void edit(Map<String, Object> mapdata);

    Map<String, Object> findRoleById(int id);

    //查询分页
    PageResult findPage(QueryPageBean queryPageBean);
    //传入数据  选中各项的id  和表单数据
    void add(Map<String, Object> mapdata);
}
